<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
	xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
	targetNamespace="Examples">

	<process id="nonInterruptingTimersOnUserTask" isExecutable="true">

		<startEvent id="theStart" />

		<sequenceFlow id="flow1" sourceRef="theStart" targetRef="firstTask" />

		<userTask id="firstTask" name="First Task">
            <multiInstanceLoopCharacteristics>
                <loopCardinality>5</loopCardinality>
            </multiInstanceLoopCharacteristics>
        </userTask>

		<sequenceFlow id="flow2" sourceRef="firstTask" targetRef="theEnd" />

		<endEvent id="theEnd" />

		<!-- Non Interrupting timer -->

		<boundaryEvent id="escalationTimer1" cancelActivity="false" attachedToRef="firstTask">
			<timerEventDefinition>
				<timeDuration>PT1H</timeDuration>
			</timerEventDefinition>
		</boundaryEvent>

		<sequenceFlow id="flow3" sourceRef="escalationTimer1" targetRef="secondTask" />

		<userTask id="secondTask" name="Escalation Task 1" />

		<sequenceFlow id="flow4" sourceRef="secondTask" targetRef="escalatedEnd" />

		<endEvent id="escalatedEnd" />

	</process>
</definitions>